﻿@ModelType WikiPageModel

<h1>שינוי שם הדף '@Model.Title'</h1>

<ul class="action-menu">
    <li>@Html.ActionLink("דף", "FetchExact", New With {.page = Model.Title})</li>
    <li>@Html.ActionLink("עריכה", "Edit", New With {.page = Model.Title})</li>
    <li>@Html.ActionLink("היסטוריה", "History", New With {.page = Model.Title})</li>
    <li>@Html.ActionLink("מחיקה", "Delete", New With {.page = Model.Title})</li>
</ul>

@Using Html.BeginForm("DoRename", "Wiki", New With {.page = Model.Title}, FormMethod.Post)
    @<table class="form">
        <tr>
            <td>
                @Html.TextBox("NewName")
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBox("KeepOldName", True) שמור שם נוכחי כשם משני
            </td>
        </tr>
        <tr>
            <td>
                <button type="submit">שנה שם</button>
            </td>
        </tr>
    </table>
End Using
